package com.apexsoft.crm.oprnintgbase.model;
<#if paging == "是">
import com.apexsoft.crm.base.model.PagerModel;


public class ${service?cap_first}Model extends PagerModel {
</#if>
<#if paging == "否">


public class ${service?cap_first}Model {
</#if>

<#list paramsMap?keys as key>
    <#if paramsMap[key].fieldType == "string">
    private String ${key?replace("_","")}; // ${paramsMap[key].fieldDesc}
    </#if>
    <#if paramsMap[key].fieldType == "int">
    private Integer ${key?replace("_","")}; // ${paramsMap[key].fieldDesc}
    </#if>
</#list>

<#list paramsMap?keys as key>
    <#if paramsMap[key].fieldType == "string">
    public String get${(key?replace("_",""))?cap_first}() {
        return ${key?replace("_","")};
    }

    public void set${(key?replace("_",""))?cap_first}(String ${key?replace("_","")}) {
        this.${key?replace("_","")} = ${key?replace("_","")};
    }
    </#if>
    <#if paramsMap[key].fieldType == "int">
    public Integer get${(key?replace("_",""))?cap_first}() {
        return ${key?replace("_","")};
    }

    public void set${(key?replace("_",""))?cap_first}(Integer ${key?replace("_","")}) {
        this.${key?replace("_","")} = ${key?replace("_","")};
    }
    </#if>

</#list>
}
